#include <v8.h>

using namespace v8;

static Handle <Value> hello (const Arguments & arguments)
{
	return String::New ("hello from native extension 'hello'");
}

extern "C" Local <Value> instantiate (void)
{
	Local <FunctionTemplate> functionTemplate (FunctionTemplate::New (hello));
	return functionTemplate->GetFunction ( );
}
